package com.clay.user;

import com.clay.appointment.config.Constants;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.PropertySource;

/**
 * @Author : clay
 * @Description:
 * @Date: Create in 15:23 2021/8/25
 * @Modified By:
 */
@SpringBootApplication(scanBasePackages = {Constants.BASE_PACKAGE})
@PropertySource(value = "classpath:config.properties", encoding = "UTF-8")
@EnableFeignClients(basePackages = {Constants.BASE_PACKAGE})
@EnableDiscoveryClient
public class ServiceUserApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceUserApplication.class,args);
    }
}
